#ifndef __BITMAP_H
#define __BITMAP_H
#include "GUI_Type.h"
//#include "GUI.h"
//#include "main.h"
#define GUI_CONST_STORAGE const

typedef struct
{
	uint8_t YSize;
	uint8_t Prop_Num;
	const GUI_FONT_PROP_EXT *Prop;
}type_font;
extern const type_font weiruancu14;
extern const type_font weiruancu27;
extern const type_font Arial_18;
extern const type_font weiruancu62;
//typedef struct
//{
//	uint16_t  XSize;
//  uint16_t  YSize;
//  uint16_t  BytesPerLine;
//	uint16_t  BitsPerPixel;
//	uint8_t*  pData;
//	uint32_t  Address;
//}GUI_BITMAP;


typedef struct
{
	uint16_t  xSize;
  uint16_t  ySize;
  uint16_t  BitsPerLine;
	uint16_t  BitsPerUinit;
	uint8_t*  P_Data;
}GUI_FONT_BITMAP;

#define IS_BMP_LOCATION 1
#define IS_TXT_LOCATION 0
typedef struct
{
	uint16_t x;
	uint16_t y;
	const GUI_BITMAP *bmp;
}type_unit_bmp_location;
typedef struct
{
	uint16_t x;
	uint16_t y;
	uint16_t Point_Color;
	uint16_t Back_Color;
  uint8_t  Alignment;
	uint16_t Length;
	const type_font *font;
}type_unit_txt_location;

extern const GUI_BITMAP pic_Back_Ground_btn;
extern const GUI_BITMAP No_Background;
//---------------------------------------------------------------
//extern const unsigned char asc2_1608[];
extern const unsigned char asc2_2412[];
//extern const GUI_FONT_BITMAP Font_asc2_1608;
extern const GUI_FONT_BITMAP Font_asc2_2412;

//-------------------------------------------------
extern const char Rst_Back_Buff[][16];

//-------------------- home_icon.c -----------------------------
extern GUI_CONST_STORAGE GUI_BITMAP bmPic_Cursor_Sign;

//--------------------  -----------------------------
#endif

































